Go to the source code of this file.
Namespaces | |
| namespace | eStudy::PhotoGallery |
Enumerations | |
| enum | PATH_TO_ROOT |
Variables | |
| if (isset($_POST['Cancel'])) | |
| $post ['posttext'] = ((isset($_POST['post']['posttext'])) ? $_POST['post']['posttext'] : '') | |
| if(isset($_SESSION["roleID"])) else | $role = null |
| if(isset($_SESSION["teamID"])) else | $team = null |
| $msg = '' | |
| if($g_user['userID']==0 &&$P-> has_permission(P_REPLY)) | $testlen = strlen(preg_replace("/(\s+|( )+)/", '', ($post['postcode'] ? $mainBBCode->stripTags($post['posttext']) : $post['posttext']))) |
| if($testlen< $config['message_minlength']) if($testlen > $config['message_maxlength']) if(isset($post['preview'])) if($_FILES['userfile']['name']&&$_FILES['userfile']['size']==0) if(($_FILES['userfile']['size'])!=0) if($thread['threadclosed']==1) if(isset($msg)&&strlen($msg) > 0) | $ctime = time() |
| $post ["postid"] = mysql_insert_id() | |
| $lastPostBy = $g_user['username'] | |
| if($g_user['userID']) | $lastReplyBy = $g_user['username'] |
| $arrBoardInfo = mysql_fetch_array(forum_query("SELECT mustsee FROM forum_board as board WHERE boardid = $board[boardid] AND is_photogallery=1")) | |
| else | $objDistributionHandler = new MustseeDistributionHandler(false, $board, $thread, $g_user, $post, $config, $course_name, $settings, $mainBBCode, $db) |
| $objDistributor = new Distributor() | |
| enum PATH_TO_ROOT |
| $arrBoardInfo = mysql_fetch_array(forum_query("SELECT mustsee FROM forum_board as board WHERE boardid = $board[boardid] AND is_photogallery=1")) |
| if ($testlen< $config['message_minlength']) if ($testlen > $config['message_maxlength']) if (isset($post['preview'])) if ($_FILES['userfile']['name']&&$_FILES['userfile']['size']==0) if (($_FILES['userfile']['size'])!=0) if ($thread['threadclosed']==1) if (isset($msg)&&strlen($msg) > 0) $ctime = time() |
| else $objDistributionHandler = new MustseeDistributionHandler(false, $board, $thread, $g_user, $post, $config, $course_name, $settings, $mainBBCode, $db) |
| $post['posttext'] = ((isset($_POST['post']['posttext'])) ? $_POST['post']['posttext'] : '') |
| if(isset($_POST['Cancel'])) |
1.5.8